package com.ifeng.py;

import java.util.LinkedList;
import java.util.List;

public class Word {
	private String py;
	private List<String> zh;
	public String getPy() {
		return py;
	}
	public void setPy(String py) {
		this.py = py;
	}
	public List<String> getZh(){
		return this.zh;
	}
	public void add(String str){
		if(null==this.zh)this.zh=new LinkedList<String>();
		this.zh.add(str);
	}
	public void clearZh(){
		this.zh=null;//回收
	}
	public void addAll(List<String> sList){
		if(null==this.zh)this.zh=new LinkedList<String>();
		this.zh.addAll(sList);
	}
}
